package com.matt.service;

import com.matt.domain.statistics.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/7/3
 * *******************************
 */
public interface AnalysisService {
    StatLeads create(String leadsId, Integer category, String channelId, String areaId, String staffId, Date date);

    StatLeads arrival(String leadsId, Integer category, String channelId, String areaId, String staffId, Date date);

    StatLeads deal(String leadsId, Integer category, String channelId, String areaId, String staffId, Date date);

    StatExpectIncome createExpectIncome(String clienteleId, String contractId, BigDecimal amount, Integer type, Integer productType, String areaId, Date date);

    StatEndClientele createEndClient(String clienteleId, Integer type, String areaId, Date date);

    StatRenewalClientele createNeedRenewalClientele(String clienteleId, String contractId, Integer type, Boolean isRenewed, String areaId);

    StatRenewalClientele renewalClientele(String clienteleId, Integer type);
}
